package ru.chaykin.load;

import ru.chaykin.primitives.Circle;
import ru.chaykin.primitives.Primitives;

public class TextureData {
	
	private float[] pnts;
	
	private Circle circle;
	private int color;
	private float angle;
	private int midId;
	
	private String str;
	
	public TextureData(float[] pnts, int color, float angle, int midId, String str) {
		this.pnts = pnts;
		this.color = color;
		this.angle = angle;
		this.midId = midId;
		this.str = str;
		
		circle = Primitives.getCircle(pnts[0], pnts[1], pnts[2], pnts[3]);
	}
	
	public float[] getRect() {
		return pnts;
	}
	
	public int getColor() {
		return color;
	}
	
	public float getAngle() {
		return angle;
	}
	
	public int getMIDInfoId() {
		return midId;
	}
	
	public String getString() {
		return str;
	}
	
	public Circle getCircle() {
		return circle;
	}
}
